package 动态数组;

public class test {
    public static void main(String[] args) {
        NewClassArray<Integer> classArray = new NewClassArray<Integer>(10);
        for (int i = 0; i < 10; i++) {
            classArray.addLast(i);
        }
        System.out.println(classArray);
        classArray.deleteFirst();
        System.out.println(classArray);
        classArray.deleteLast();
        System.out.println(classArray);


    }
}
